<!DOCTYPE html>
<html lang="en">
<head>

	<meta charset="utf-8">
	<title>jke-d3-ecg</title>

	<meta name="viewport" content="width=device-width">

	<link rel="stylesheet" href="css/jke-d3-ecg.css">

</head>
<body style="margin: 30px;">

	<button id="startWebLink">开始连接</button>
    <button id="stopWebLink">结束连接</button>
	<!-- Placeholder for the ECG chart -->
	<div class="jke-ecgChart"></div>

	<!-- Include dependencies -->
	<script src="js/lib/jquery.min.js"></script>
	<script src="js/lib/jquery-ui-widget.min.js"></script>
	<script src="js/lib/d3.min.js"></script>

	<!-- Include jke-d3-ecg and initialize the chart -->
	<script src="js/jke-d3-ecg.min.js"></script>
	<script>
		$('.jke-ecgChart').ecgChart();
	</script>

	//示例js
	<!-- Include a data source to feed the ECG chart with data -->
	<!-- In a real application this should probably be done using a WebSocket -->
	<!--<script src="js/datasource.js"></script>-->

	//测试长连接js
	<script src="index.js"></script>
</body>
</html>
